#pragma once

#include <entt/entt.hpp>

#include "../../render/components.hpp"

namespace qbe::draw::polygon {
enum struct State { None = 0, Begin, Create, Upatde, Complete, Cancel };

struct Models {
  render::PolyLineMesh polygon;

  State state = State::None;
  entt::entity entity = entt::null;
  entt::entity complete_entity = entt::null;

  bool clear_tag = false;
  bool is_moveing = false;
};
}  // namespace qbe::draw::polygon